namespace Plugins.Library
{
    using System;
    using Plugins.Interfaces;

    [Serializable]
    public class PluginIdentity : IPluginIdentity
    {
        private Guid _id;
        //private static int _number;

        public PluginIdentity()
        {
            this._id = Guid.NewGuid();
            //++_number;
            //PluginPluginLog.WriteAsync(string.Format(CultureInfo.InvariantCulture, "{0} : {1}", _id, this.GetType().Name));
        }

        public Guid Id
        {
            get
            {
                return this._id;
            }
        }
    }
}

